package com.goblin.model.order.po;

import com.goblin.model.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Table(name = "t_member_address")
@Entity
public class ShoppingAddress extends BaseEntity {

    @Column(name = "prov", columnDefinition = "varchar(255) COMMENT '省'")
    private String prov;

    @Column(name = "city", columnDefinition = "varchar(255) COMMENT '市'")
    private String city;

    @Column(name = "county", columnDefinition = "varchar(255) COMMENT '区'")
    private String county;

    @Column(name = "detail_address", columnDefinition = "varchar(255) COMMENT '详细收货地址'")
    private String detailAddress;

    @Column(name = "user_name", columnDefinition = "varchar(255) COMMENT '联系人姓名'")
    private String userName;

    @Column(name = "mobile", columnDefinition = "varchar(255) COMMENT '联系人电话'")
    private String mobile;


}
